<?
/**
 * Mime type database object
 */
class MimeTypeDbo extends HistoryTimelineDbo {

/**
 * constructor - define object property -> table mappings
 */
public function __construct() {
	// parent
	parent::__construct();
	// table name
	$this->setDatabaseTable('mime_type_ids');
	// object properties
	$this->propertyAdd('Desc', 'Description');
	$this->propertyAdd('Id');
	$this->propertyAdd('MimeType');
	// Set id property
	$this->setIdProperty('Id');
	// Friendly Descriptions
	$this->setPropertyDescription('Desc', 'Description');
	// Date properties
	// Numeric properties
	$this->setPropertyIsNumeric('Id');
	// Set property lengths
	$this->setPropertyMaxLength('Desc',     255);
	$this->setPropertyMaxLength('Id',       10);
	$this->setPropertyMaxLength('MimeType', 100);
	}
}
?>
